package org.zcl.entity.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalTime;

/**
 * 查询时间入参
 * @author zhuchenglin
 * @since 2024/2/5 17:57
 */
@ApiModel(description = "查询时间入参")
@Data
public class DateModelRequest {

    /**
     * 开始时间
     */
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "HH:mm:ss")
    private LocalTime startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "HH:mm:ss")
    private LocalTime endTime;
}
